﻿using MediatR;
using RearLivestock.Common.Domains.hq;
using RearLivestock.Common.Dtos;
using System.ComponentModel.DataAnnotations.Schema;

namespace RearLivestock.RBAC.Api.Application.hqApplication.Commands.PigBaby
{
    public class AddPigCommand : IRequest<Result>
    {
        public int PigId { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? PigNo { get; set; }
        /// <summary>
        /// 期初日期
        /// </summary>
        public DateTime PigTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 耳号
        /// </summary>
        public string? Pigear { get; set; }
        /// <summary>
        /// 栋舍名称
        /// </summary>
        public int BedroomId { get; set; }

        /// <summary>
        /// 阶段
        /// </summary>
        public string? PigClass { get; set; }
        /// <summary>
        /// 体重
        /// </summary>
        public string? Pigweight { get; set; }
        /// <summary>
        /// 栏位
        /// </summary>
        public string? PigLanw { get; set; }
        /// <summary>
        /// 只数
        /// </summary>

        public int PigNum { get; set; }
    }
}
